<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
    <script type="text/javascript" src="jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="jquery.form.js"></script>
    <script type="text/javascript">
	    $(document).ready(function(){
              var options = { 
                      target:        '#output1',
                      type:          'get',
                      clearForm:     true
                  };

          $('#frmnewspost').submit(function() { 
            $(this).ajaxSubmit(options);
              return false; 
          }); 
        $("input").keyup(function() {
           $.ajax({
	            type: "POST",
                    url: 'checkcaptcha.php',
	            data: "code="+$('#cfiled').val(),
	            complete: function(data){                    
                       $('#spanfiled').text(data.responseText);
                  }
      
           });   
         });
        });
    </script>

    <style type="text/css">
        <!--a  { color:rgb(237, 106, 52); }-->
        a  { color:rgb(116, 116, 111); }
        
    </style>
    <link rel="stylesheet" type="text/css" href="style.css" />
